<template>
	<view class="wrap">
		<view class="flexWarpCenterColumn bind-box">
			<image src="../../static/1.jpg" class="bind-img"></image>
			<view class="bind-num">
				已绑定的手机号:19936603169
			</view>
			<u-button type="success"  open-type="getPhoneNumber" @getphonenumber="onGetPhoneNumber">更换手机号</u-button>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				telCode:""
			}
		},
		methods: {
			// 获取用户手机号
			onGetPhoneNumber(e) {
				console.log("onGetPhoneNumber", e);
				this.telCode=e.detail.code
				// this.getPhoneNum()
			},
		}
	}
</script>

<style lang="less">
	.bind-box{
		padding: 30upx;
		.bind-img{
			width: 200upx;
			height: 300upx;
		}
		.bind-num{
			font-weight: bold;
			margin: 40upx;
		}
	}
</style>
